If there are no subversions yet, use 1.
authorRichard M. Stallman <rms@gnu.org>
Sat, 8 Jan 1994 12:44:48 +0000 (12:44 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 8 Jan 1994 12:44:48 +0000 (12:44 +0000)
lisp/loadup.el

index c895e370fc3f8cf2eb414b075a1e9158790649f6..6cf138cd7944be1704b93c5a99d0fcc74cd68210 100644 (file)
                             files)))
       (setq emacs-version (format "%s.%d"
                                  emacs-version
-                                 (1+ (apply 'max versions))))))
+                                 (if versions
+                                     (1+ (apply 'max versions))
+                                   1)))))
 
 ;; Note: all compiled Lisp files loaded above this point
 ;; must be among the ones parsed by make-docfile